package com.cskaoyan.mapper.promote;

import com.cskaoyan.bean.promote.GoodsByTopic;
import com.cskaoyan.bean.promote.GoodsByTopicExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsByTopicMapper {
    long countByExample(GoodsByTopicExample example);

    int deleteByExample(GoodsByTopicExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GoodsByTopic record);

    int insertSelective(GoodsByTopic record);

    List<GoodsByTopic> selectByExampleWithBLOBs(GoodsByTopicExample example);

    List<GoodsByTopic> selectByExample(GoodsByTopicExample example);

    GoodsByTopic selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GoodsByTopic record, @Param("example") GoodsByTopicExample example);

    int updateByExampleWithBLOBs(@Param("record") GoodsByTopic record, @Param("example") GoodsByTopicExample example);

    int updateByExample(@Param("record") GoodsByTopic record, @Param("example") GoodsByTopicExample example);

    int updateByPrimaryKeySelective(GoodsByTopic record);

    int updateByPrimaryKeyWithBLOBs(GoodsByTopic record);

    int updateByPrimaryKey(GoodsByTopic record);
}